From 23ddac2e72baf5c03b4abf3731f95ec3b955b786 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 24 May 2019 08:47:40 +0200 Subject: [PATCH] filechooserentry: Correctly annotate a return value as (nullable) --- gtk/gtkfilechooserentry.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 56bd9e9b56..ef193d1357 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -906,8 +906,9 @@ _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry, * be different. If the user has entered unparsable text, or text which * the entry cannot handle, this will return %NULL. * - * Returns: the file for the current folder - you must g_object_unref() - * the value after use. + * Returns: (nullable): the file for the current folder or %NULL if the + * current folder can not be determined. Unref the file with + * g_object_unref() after use. **/ GFile * _gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry) -- 2.30.2